[INFO] fetching crate libp2p-metrics 0.9.0...
[INFO] checking libp2p-metrics-0.9.0 against master#98e1f041b6e33598a18edb928ec9db93a850c6cb for pr-101680
[INFO] extracting crate libp2p-metrics 0.9.0 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate libp2p-metrics 0.9.0 on toolchain 98e1f041b6e33598a18edb928ec9db93a850c6cb
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libp2p-metrics 0.9.0
[INFO] finished tweaking crates.io crate libp2p-metrics 0.9.0
[INFO] tweaked toml for crates.io crate libp2p-metrics 0.9.0 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate crates.io crate libp2p-metrics 0.9.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dtoa v1.0.3
[INFO] [stderr]   Downloaded libp2p-ping v0.39.0
[INFO] [stderr]   Downloaded prost-codec v0.2.0
[INFO] [stderr]   Downloaded libp2p-kad v0.40.0
[INFO] [stderr]   Downloaded libp2p-gossipsub v0.41.0
[INFO] [stderr]   Downloaded libp2p-dcutr v0.6.0
[INFO] [stderr]   Downloaded hex_fmt v0.3.0
[INFO] [stderr]   Downloaded libp2p-relay v0.12.0
[INFO] [stderr]   Downloaded prometheus-client-derive-text-encode v0.3.0
[INFO] [stderr]   Downloaded prometheus-client v0.18.0
[INFO] [stderr]   Downloaded libp2p-identify v0.39.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 308ca6d2ff043c0e51bf9fbe903603c14aca97cc11809e463f08d38f65916ab8
[INFO] running `Command { std: "docker" "start" "-a" "308ca6d2ff043c0e51bf9fbe903603c14aca97cc11809e463f08d38f65916ab8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "308ca6d2ff043c0e51bf9fbe903603c14aca97cc11809e463f08d38f65916ab8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "308ca6d2ff043c0e51bf9fbe903603c14aca97cc11809e463f08d38f65916ab8", kill_on_drop: false }`
[INFO] [stdout] 308ca6d2ff043c0e51bf9fbe903603c14aca97cc11809e463f08d38f65916ab8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 43206b7962050ef7d97f11e2f0315aa445294c57558c216300c089763773c725
[INFO] running `Command { std: "docker" "start" "-a" "43206b7962050ef7d97f11e2f0315aa445294c57558c216300c089763773c725", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling anyhow v1.0.64
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling futures-core v0.3.24
[INFO] [stderr]    Compiling unicode-xid v0.2.3
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling futures-task v0.3.24
[INFO] [stderr]    Compiling futures-channel v0.3.24
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking futures-sink v0.3.24
[INFO] [stderr]    Compiling futures-util v0.3.24
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-io v0.3.24
[INFO] [stderr]     Checking bytes v1.2.1
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]     Checking cpufeatures v0.2.5
[INFO] [stderr]    Compiling fastrand v1.8.0
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling once_cell v1.14.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]     Checking unsigned-varint v0.7.1
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking signature v1.6.0
[INFO] [stderr]     Checking itoa v1.0.3
[INFO] [stderr]     Checking bs58 v0.4.0
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking data-encoding v2.3.2
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking asn1_der v0.7.5
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking dtoa v1.0.3
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]    Compiling tokio v1.21.0
[INFO] [stderr]     Checking ed25519 v1.5.2
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking tracing-core v0.1.29
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking tracing v0.1.36
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]     Checking aho-corasick v0.7.19
[INFO] [stderr]     Checking unicode-normalization v0.1.21
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]    Compiling which v4.3.0
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling petgraph v0.6.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking env_logger v0.8.4
[INFO] [stderr]     Checking block-buffer v0.10.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking sha2 v0.10.5
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling futures-macro v0.3.24
[INFO] [stderr]    Compiling thiserror-impl v1.0.34
[INFO] [stderr]    Compiling prost-derive v0.11.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling zeroize_derive v1.3.2
[INFO] [stderr]    Compiling prometheus-client-derive-text-encode v0.3.0
[INFO] [stderr]     Checking prometheus-client v0.18.0
[INFO] [stderr]     Checking zeroize v1.3.0
[INFO] [stderr]     Checking curve25519-dalek v3.2.1
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]     Checking futures-executor v0.3.24
[INFO] [stderr]     Checking hyper v0.14.20
[INFO] [stderr]     Checking futures v0.3.24
[INFO] [stderr]     Checking multistream-select v0.11.0
[INFO] [stderr]     Checking rw-stream-sink v0.3.0
[INFO] [stderr]    Compiling thiserror v1.0.34
[INFO] [stderr]    Compiling proc-macro-crate v1.2.1
[INFO] [stderr]    Compiling prost v0.11.0
[INFO] [stderr]    Compiling multihash-derive v0.8.0
[INFO] [stderr]    Compiling prost-types v0.11.1
[INFO] [stderr]    Compiling prost-build v0.11.1
[INFO] [stderr]    Compiling libp2p-core v0.36.0
[INFO] [stderr]     Checking multihash v0.16.3
[INFO] [stderr]     Checking multiaddr v0.14.0
[INFO] [stderr]     Checking libp2p-swarm v0.39.0
[INFO] [stderr]     Checking libp2p-metrics v0.9.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | use libp2p::core::Multiaddr;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | use libp2p::metrics::{Metrics, Recorder};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | use libp2p::ping::{Ping, PingConfig};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | use libp2p::swarm::SwarmEvent;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | use libp2p::{identity, PeerId, Swarm};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:74:18
[INFO] [stdout]    |
[INFO] [stdout] 74 |         block_on(libp2p::development_transport(local_key))?,
[INFO] [stdout]    |                  ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::StreamExt`
[INFO] [stdout]   --> examples/metrics/main.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | use futures::stream::StreamExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-metrics` due to 7 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "43206b7962050ef7d97f11e2f0315aa445294c57558c216300c089763773c725", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43206b7962050ef7d97f11e2f0315aa445294c57558c216300c089763773c725", kill_on_drop: false }`
[INFO] [stdout] 43206b7962050ef7d97f11e2f0315aa445294c57558c216300c089763773c725
